//
//  KDSubscripRequestTool.h
//  WangJingApp
//
//  Created by 魏强 on 17/2/23.
//  Copyright © 2017年 KDTech. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KDSubscribeListParam.h"
#import "KDBaseResult.h"
#import "KDUpdateSubscribParam.h"
#import "KDFavorParam.h"
#import "SVProgressHUD.h"
#import "KDSubscribeDetailResult.h"

@class KDAddCommentParam;
@class KDGetCommentListParam;
@class KDGetSubscribedResult;
@class KDGetSubscribeListResult;
@class KDGetCommentListResult;
@class KDAllSubscribeResult;
@interface KDSubscripRequestTool : NSObject
/**  获取对应订阅主题下的列表 */
+ (void)getSubscribeListWithParam:(KDSubscribeListParam *)param success:(void (^)(KDGetSubscribeListResult *responseObejct))success failure:(void(^)(NSError *error))failure;
/**  获取已经订阅的主题 */
+ (void)getSubscribedModelWithParam:(KDBaseParam *)param success:(void (^)(KDGetSubscribedResult *responseObejct))success failure:(void(^)(NSError *error))failure;
/**  获取所有已订阅未订阅的主题 */
+ (void)getAllSubscribeModelWithParam:(KDBaseParam *)param success:(void (^)(KDAllSubscribeResult *responseObejct))success failure:(void(^)(NSError *error))failure;
/**  更新所有已经订阅的主题  */
+ (void)updateAllSubscribeModelWithParam:(id)param success:(void (^)(KDGetSubscribedResult *responseObejct))success failure:(void(^)(NSError *error))failure;
/**  添加批示 */
+ (void)addCommentWithParam:(KDAddCommentParam *)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;
/**  获取批示列表的请求 */
+ (void)getCommentListWithparam:(KDGetCommentListParam *)param success:(void (^)(KDGetCommentListResult *responseObejct))success failure:(void(^)(NSError *error))failure;

/**  预警推送详细的请求 */
+ (void)getSubscribeDetailWithparam:(KDSubscribeListParam *)param success:(void (^)(KDSubscribeDetailResult *responseObejct))success failure:(void(^)(NSError *error))failure;

@end
